package com.itheima.fileoutputStream;

import java.io.FileOutputStream;
import java.io.OutputStream;

public class FileOutputDemo2 {
    public static void main(String[] args) throws Exception{
//        append追加写
        OutputStream os=new FileOutputStream("day03-file-io\\src\\zsx.txt",true);
        os.write("hello".getBytes());
        os.close();
    }
}
